package com.aos.service;

import com.alibaba.fastjson.JSON;
//import com.aos.config.RabbitConfig;
//import com.aos.entity.SysLog;
//import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by fangzhipeng on 2017/7/12.
 */
@Service
public class LoggerService {

//    @Autowired
//    private AmqpTemplate rabbitTemplate;

//    public void log(SysLog sysLog){
//        System.out.println("记录日志");
//        rabbitTemplate.convertAndSend(RabbitConfig.queueName, JSON.toJSONString(sysLog));
    //}
}
